package com.infore.statisticsAndAlarm.entity;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;


/**
 * The persistent class for the KNOWLEDGE_KEY_WORLD database table.
 * 热门搜索关键词
 */
@Entity
@Table(name="KNOWLEDGE_KEY_WORLD")
@NamedQuery(name="KnowledgeKeyWorld.findAll", query="SELECT k FROM KnowledgeKeyWorld k")
public class KnowledgeKeyWorld implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="KEY_WORLD_ID")
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String keyWorldId;

	/**搜索词汇**/
	@Column(name="KEY_WORLD_NAME")
	private String keyWorldName;

	/**搜索次数**/
	@Column(name="KEY_WORLD_NUM")
	private String keyWorldNum;

	public KnowledgeKeyWorld() {
	}

	public String getKeyWorldId() {
		return this.keyWorldId;
	}

	public void setKeyWorldId(String keyWorldId) {
		this.keyWorldId = keyWorldId;
	}

	public String getKeyWorldName() {
		return this.keyWorldName;
	}

	public void setKeyWorldName(String keyWorldName) {
		this.keyWorldName = keyWorldName;
	}

	public String getKeyWorldNum() {
		return this.keyWorldNum;
	}

	public void setKeyWorldNum(String keyWorldNum) {
		this.keyWorldNum = keyWorldNum;
	}

}